package top.tangyh.lamp.care.service;

import top.tangyh.basic.base.service.SuperService;
import top.tangyh.lamp.care.entity.BDevDetail;
import top.tangyh.lamp.care.vo.query.DevDetailSearchVO;
import top.tangyh.lamp.care.vo.result.DevDetailDto;
import top.tangyh.lamp.care.vo.result.PageOutputDTO;
import top.tangyh.lamp.care.vo.save.BDevDetailSaveVO;
import top.tangyh.lamp.care.vo.update.BDevDetailUpdateVO;
import top.tangyh.lamp.care.vo.result.BDevDetailResultVO;
import top.tangyh.lamp.care.vo.query.BDevDetailPageQuery;

import java.util.List;


/**
 * <p>
 * 业务接口
 * 监护仪设备详情表
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 16:42:41
 * @create [2024-07-15 16:42:41] [zqb] [代码生成器生成]
 */
public interface BDevDetailService extends SuperService<Long, BDevDetail> {

    boolean saveDevDetail(BDevDetail po);

     int selectCountOfDevDetailByDevCode(String devCode,Long id);

     int selectCountOfDevDetailByIP(String ip,Long id);

    /**
     * 方法描述 更新设备详情
     *
     * @return boolean
     * @author zqb
     * @date 2022/3/9 :38 上午
     * @params  po
     */
    boolean updateDevDetail(BDevDetail po);

    List<String>  getdevCodeList(String devCode);

    PageOutputDTO<DevDetailDto> queryPage(DevDetailSearchVO query);

    int selectCountOfBindDev(String devCode);


    Boolean updateList( List<BDevDetail> list);

    BDevDetailResultVO  selectOneQuery(String devCode);

    int getCountByDevCode(String devCode);
}


